package yf.mall.dysdk.service;

import yf.mall.dysdk.model.DyAuthCheckResponse;
import yf.mall.dysdk.model.DyAuthCodeResponse;
import yf.mall.dysdk.model.DyToken;
import yf.mall.dysdk.model.user.DyFansData;
import yf.mall.dysdk.model.user.DyUserInfo;
import yf.mall.dysdk.model.user.DyFullUserInfo;


public interface DyAuthService {

     DyToken getDyAccessToken(String code);



    DyToken refreshAccessToken(String refreshToken);


    DyToken refreshRefreshToken(String refreshToken);


    DyToken getDyClientToken();



    DyAuthCodeResponse oauthConnect(Long userId);


    DyAuthCheckResponse oauthQuery(Long userId, String token);


    DyUserInfo getUserInfo(DyToken dyToken);


    DyFullUserInfo getDyFullUserInfo(String openId);

}
